package com.tzz.config;

import lombok.Data;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component(value = "preUrlConfig")
@Data
public class PreUrlConfig implements InitializingBean {
    private Map<String,String> urlMap = new HashMap<>();

    @Override
    public void afterPropertiesSet() throws Exception {
        this.urlMap.put("ofcCreateOrderUrl","同步订单接口");
    }
}
